package com.xiaoniu.mc.consumer;

import com.xiaoniu.mc.client.bootstrap.XmqBootstrap;
import org.apache.rocketmq.client.exception.MQClientException;

import java.security.NoSuchAlgorithmException;

/**
 * @类描述：
 * @创建人：林继丰
 * @创建时间：2017/8/18 15:22
 * @版权：Copyright (c) 深圳市牛鼎丰科技有限公司-版权所有.
 */
public class App {

    public static void main(String[] args) {
        try {
            System.out.println("~开启消费者~");
            XmqBootstrap.start("");
        } catch (IllegalAccessException e) {
            e.printStackTrace();
        } catch (MQClientException e) {
            e.printStackTrace();
        } catch (InstantiationException e) {
            e.printStackTrace();
        } catch (NoSuchAlgorithmException e) {
            e.printStackTrace();
        }
    }
}
